<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="/Digipao/media/css/bootstrap.css" rel="stylesheet" type="text/css"/>
        <link href="/Digipao/media/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css"/>
        <link href="/Digipao/media/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="/Digipao/media/css/backgroud-digipao.css" rel="stylesheet" type="text/css"/>
        <title>Altera Cadastro de Fornecedor</title> 
    </head>
    <body> <form action="${pageContext.request.contextPath}/alteraCadastroFornecedor" method="get">
            <div id="fundo-externo">
                <div id="fundo">
                    <img src="/Digipao/media/images/zoom-bg-1.jpg" alt=""/>
                </div>
            </div>

            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center margin-top-20">
                <h1 class="templatemo-site-title">
                    <img src="/Digipao/media/images/digipao100714-2115100714-2117.png" alt=""/>
                    <h2>Altera Cadastro de Fornecedor</h2>
                </h1>
            </div>

            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 margin-top-20">
                <div class="container-fluid container panel panel-default">
                    <table id="tblFornecedor" class="table table-hover table-striped">            
                        <tr>
                            <td><label for="fornecedor">Fornecedor:</label></td>
                            <td><input id="fornecedor" name="fornecedor" class="form-horizontal" value="${FornecedorParaAlterar.fornecedor}"></input></td>
                        </tr>
                        <tr>
                            <td><label>Descrição do Produto:</label></td>
                            <td><input id="descricao" name="descricao" class="form-horizontal" value="${FornecedorParaAlterar.descricao}"></input></td>
                        </tr>

                        <tr>
                            <td><label>Preço:</label></td>
                            <td><input id="preco" name="preco" class="form-horizontal" value="${FornecedorParaAlterar.preco}"></input></td>
                        </tr>

                        <tr>
                            <td><label>Endereço:</label></td>
                            <td><input id="endereco" name="endereco" class="form-horizontal" value="${FornecedorParaAlterar.endereco}"></input></td>
                        </tr>

                        <tr>
                            <td><label>Cidade:</label></td>
                            <td><input id="cidade" name="cidade" class="form-horizontal" value="${FornecedorParaAlterar.cidade}"></input></td>
                        </tr>

                        <tr>
                            <td><label>Estado</label></td>
                            <td><input id="estado" name="estado" class="form-horizontal" value="${FornecedorParaAlterar.estado}"></input></td>
                        </tr>

                        <tr>
                            <td><label>Telefone</label></td>
                            <td>
                                <input id="telefone" name="telefone" type="text" class="form-horizontal"value="${FornecedorParaAlterar.telefone}"></input>
                            </td>
                        </tr>
                    </table>

                    <div class="text-right">
                        <button class="btn btn-default" type="submit" name="operacao" value="Alterar">Alterar</button>
                        <button class="btn btn-default" type="submit" name="operacao" value="Cancelar">Cancelar</button>
                    </div>
                </div>
            </div>
        </form>
    </body>
</html>
